@import "./common";
html, body {
  height: 100%;
}
.wrapper {
  width: 100%;
}
.banner {
  height: 240px;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
}
.content {
  padding: 80px 0;
  background: rgb(248, 250, 252);
}
.container {
  .flex(flex-start);
  justify-content: space-between;
  width: 1200px;
  margin: 0 auto;
  .left-tab {
    margin-top: -198px;
    width: 342px;
    padding-bottom: 20px;
    .tabs {
      background: #fff;
    }
    .user-info {
      .user-avatar {
        .flex;
        height: 129px;
        -webkit-background-size: 100% 100%;
        background-size: 100% 100%;
        background-image: url(../images/avatar-bg.png);
      }
    }
    .username {
      margin-bottom: 22px;
      .flex;
      font-size: 24px;
      .font-bold;
      img {
        margin-left: 22px;
      }
    }
    .tab-item {
      padding: 0 25px;
      .flex;
      justify-content: space-between;
      height: 69px;
      color: #666;
      background: #fff;
      &.active {
        color: #0388f7;
        background: #e9edf5;
        img {
          filter: grayscale(0);
        }
      }
      section {
        position: relative;
        .flex;
        font-size: 18px;
        width: 150px;
        justify-content: flex-start;
        .badge {
          .flex;
          padding: 0 6px;
          left: 18px;
          top: 0;
          position: absolute;
          height: 16px;
          background-color: #ff3b3b;
          border-radius: 8px;
          color: #fff;
          font-size: 14px;
          .font-medium;
          z-index: 2;
        }
        img {
          height: 26px;
          margin-right: 18px;
          filter: grayscale(100%);
        }
      }
    }
  }
  .tab-content {
    margin-left: 70px;
    margin-top: -130px;
    flex: 1;
    & > .title {
      margin-bottom: 33px;
      color: #fff;
      font-size: 24px;
      .font-medium
    }
    .details {
      .game-item {
        margin-bottom: 1px;
        .flex;
        justify-content: space-between;
        padding: 25px;
        background: #fff;
        border-radius: 8px;
        .text {
          .font-medium;
          font-size: 18px;
          color: #333333;
          .name {
            margin-bottom: 10px;
          }
          .time {
            font-size: 14px;
            font-weight: normal;
          }
        }
        a {
          .flex;
          justify-content: center;
          width: 115px;
          height: 44px;
          background-image: linear-gradient(80deg,
          #108ee9 0%,
          #10c3e9 100%),
          linear-gradient(
                  #000000,
                  #000000);
          background-blend-mode: normal,
          normal;
          border-radius: 8px;
          color: #fff;
        }
      }
    }
    .question {
      margin-bottom: 20px;
      .flex;
      justify-content: center;
      width: 115px;
      height: 44px;
      background-image: linear-gradient(80deg,
      #f78b2e 0%,
      #ffbb5b 100%),
      linear-gradient(
              #000000,
              #000000);
      background-blend-mode: normal,
      normal;
      border-radius: 8px;
      font-size: 16px;
      line-height: 24px;
      color: #ffffff;
      .font-medium;
    }
    .question-item {
      margin-bottom: 20px;
      padding: 20px 22px;
      background-color: #ffffff;
      border-radius: 8px;
      font-size: 18px;
      color: #333333;
      .name {
        margin-bottom: 8px;
      }
      .time {
        margin-top: 6px;
        .flex;
        justify-content: space-between;
        font-size: 14px;
        color: #333333;
        .expand {
          cursor: pointer;
        }
        img {
          margin-left: 8px;
          transition: all .3s;
          &.rotate {
            transform: rotate(180deg);
          }
        }
      }
    }
    .question-content {
      margin-top: 17px;
      padding: 10px 20px;
      background: #f1f5fc;
    }
    .question-content-item {
      .flex(flex-start);
      justify-content: space-between;
      margin-bottom: 10px;
      font-size: 16px;
      .user {
        color: #4281ff;
      }
      .reply-btn {
        .flex;
        justify-content: center;
        width: 48px;
        height: 25px;
        background-color: #4483fd;
        color: #fff;
        border-radius: 3px;
      }
    }
    .password-form {
      padding: 47px 140px;
      background: #fff;
    }
    .label {
      margin-bottom: 26px;
      padding: 14px 15px;
      .flex;
      justify-content: space-between;
      width: 500px;
      border: solid 2px #eeeeee;
      input {
        text-align: right;
      }
      &.code-label {
        padding: 0 0 0 14px;
        input {
          text-align: left;
        }
      }
      .input-wrapper {
        .flex;
        justify-content: flex-start;
        &.address {
          .layui-inline {
            text-align: left;
            width: 33%;
            input {
              width: 100px;
            }
          }
        }

      }
      .required {
        span {
          color: #ff3333;
          display: inline-block;
        }
      }
      .get-code {
        margin-left: 24px;
        .flex;
        justify-content: center;
        width: 95px;
        height: 44px;
        background-color: #fdaf50;
        color: #fff;
      }
      .layui-input-block {
        min-height: auto;
      }
      .layui-input {
        display: inline;
        height: auto;
        border: none
      }
    }
    button {
      margin: 0 auto;
      .flex;
      width: 300px;
      height: 44px;
      background-color: #ffa903;
      border-radius: 10px;
      color: #fff;
    }
  }
}

.question-modal {
  margin: 0 54px;
  .layui-form-item {
    .flex;
    justify-content: space-between;
    border: 2px solid #eeeeee;
    input {
      text-align: right;
      border: none
    }
    .layui-inline {
      .flex;
      justify-content: flex-end;
      flex: 1;
    }
  }

  textarea {
    padding: 20px 18px;
    .flex;
    width: 100%;
    background-color: #f8f8f8;
    border-radius: 11px;
    resize: none;
    border: none;
  }
  button {
    margin: 40px auto;
    .flex;
    width: 236px;
    height: 61px;
    background-image: linear-gradient(80deg,
    #58adff 0%,
    #1dd5da 100%),
    linear-gradient(
            #34c6c6,
            #34c6c6);
    background-blend-mode: normal,
    normal;
    box-shadow: 0px 7px 12px 0px
    rgba(47, 185, 189, 0.31);
    border-radius: 31px;
    color: #fff;
    font-size: 24px;
  }
}
#page {
  margin-top: 50px;
  .flex;
}
.layui-laypage>:first-child, .layui-laypage>:last-child {
  margin: 0 30px;
  width: auto;
  height: auto;
}
.layui-laypage a, .layui-laypage span {
  .flex;
  margin: 0 10px;
  justify-content: center;
  display: inline-flex;
  padding: 0;
  text-align: center;
  border: none;
  background: transparent;
  width: 34px;
  height: 34px;
  font-size: 16px;
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {
  width: 34px;
  height: 34px;
  .flex;
  justify-content: center;
  border-radius: 50%;
  background: #5b666d;
}
